// 案事件人员信息列表
export const caseInfoConfig = {
  // 序号、 姓名、 身份证号、 性别、 户籍地、 现住地、 要素信息、 稳控类型、 稳控单位、 备注；
  columns: [{
      type: 'index',
      label: '序号',
      width: '65',
      fixed: 'left'
    },
    {
      label: '姓名',
      prop: 'xm',
      minWidth: '8em'
    },
    {
      label: '身份证号',
      prop: 'sfzh',
      minWidth: '12em',
      type: 'slot'
    },
    {
      label: '性别',
      prop: 'xb',
      code:'DM_SEX'
    },
    {
      label: '户籍地',
      prop: 'hjd',
      minWidth: '9em'
    },
    {
      label: '现住地',
      prop: 'xzd',
      minWidth: '9em'
    },
    {
      label: '要素信息',
      prop: 'factor-info',
      type: 'slot',
      minWidth: '13em'
    },
    {
      label: '稳控类型',
      prop: 'wklx',
      code: 'BM_WKLX',
      minWidth: '7em'
    },
    {
      label: '稳控单位',
      prop: 'wkdw',
      code:'BM_DEPT',
      minWidth: '11em'
    },
    {
      label: '工作情况',
      prop: 'gzqk',
      minWidth: '11em'
    },
    {
      label: '操作',
      prop: 'action',
      type: 'slot',
      minWidth: '9em'
    }
  ],
  reqCondition: {
    sorts: [{
      'create_Time': 'desc'
    }],
    params: [{
        name: 'flow_Id',
        op: '=',
        value: '',
        type: '',
        format: ''
      },
      // 有无稳控单位：有：0 无：1
      {
        name: 'wkdw',
        op: 'ifnull',
        value: '',
        type: '',
        format: ''
      },
      // 归属地区
      {
        name: 'wkdw',
        op: 'in',
        value: '',
        type: '',
        format: ''
      },
      // 稳控类型
      {
        name: 'wklx',
        op: 'in',
        value: '',
        type: '',
        format: ''
      },
      // 关键词
      {
        name: 'gjc',
        op: '=',
        value: '',
        type: '',
        format: ''
      }
    ]
  },
  exportColumns: [{
    name: 'XM',
    type: 'CHAR',
    format: '',
    display: '姓名'
  }, {
    name: 'SFZH',
    type: 'CHAR',
    format: '',
    display: '身份证号'
  }, {
    name: 'XB',
    type: 'CODE',
    format: 'DM_SEX',
    display: '性别'
  }, {
    name: 'HJD',
    type: 'CHAR',
    format: '',
    display: '户籍地'
  }, {
    name: 'XZD',
    type: 'CHAR',
    format: '',
    display: '现住地'
  }, {
    name: 'RYYS_WM',
    type: 'CHAR',
    format: '',
    display: '网名'
  }, {
    name: 'RYYS_LXDH',
    type: 'CHAR',
    format: '',
    display: '联系电话'
  }, {
    name: 'RYYS_CLH',
    type: 'CHAR',
    format: '',
    display: '车辆号'
  }, {
    name: 'WKLX',
    type: 'CODE',
    format: 'BM_WKLX',
    display: '稳控类型'
  }, {
    name: 'WKDW',
    type: 'CODE',
    format: 'BM_DEPT',
    display: '稳控单位'
  }, {
    name: 'BZ',
    type: 'CHAR',
    format: '',
    display: '备注'
  }]
}

// 关联专题
export const relationSubjectConfig = {
  // 序号、创建时间、专题标题、创建单位
  columns: [{
      type: 'index',
      label: '序号',
      width: '65',
      fixed: 'left'
    },
    {
      label: '创建时间',
      prop: 'createTime',
      minWidth: '8em'
    },
    {
      label: '专题标题',
      prop: 'title',
      minWidth: '11em'
    },
    {
      label: '创建单位',
      prop: 'createOrgName',
      minWidth: '11em'
    }
  ],
  reqCondition: {
    sorts: [{
      'create_Time': 'desc'
    }],
    params: []
  }
}

// 历史修改记录
export const histroyRecordConfig = {
  // 序号、修改内容、修改时间、修改人、修改单位；
  columns: [{
      type: 'index',
      label: '序号',
      width: '65',
      fixed: 'left'
    },
    {
      label: '修改内容',
      prop: 'xgnr',
      type: 'slot',
      minWidth: '11em'
    },
    {
      label: '修改时间',
      prop: 'xgsj',
      doFilters: 'filterDate',
      minWidth: '10em',
    },
    {
      label: '修改人',
      prop: 'xgrxm',
      minWidth: '8em'
    },
    {
      label: '修改单位',
      prop: 'xgrdwmc',
      minWidth: '10em'
    }
  ],
  reqCondition: {
    sorts: [{
      'xgsj': 'desc'
    }],
    params: []
  }
}

// 关联案事件人员信息列表
export const relateEventInfoConfig = {
  // 序号、信息编号、标题、姓名、身份证号、性别、户籍地、现住地、要素信息、稳控单位、稳控状态、备注；
  columns: [{
      type: 'index',
      label: '序号',
      width: '65',
      fixed: 'left'
    },
    {
      label: '信息编号',
      prop: 'serialNo',
      minWidth: '8em'
    },
    {
      label: '标题',
      prop: 'title',
      minWidth: '8em'
    },
    {
      label: '姓名',
      prop: 'xm',
      minWidth: '8em'
    },
    {
      label: '身份证号',
      prop: 'sfzh',
      type: 'slot',
      minWidth: '12em'
    },
    {
      label: '性别',
      prop: 'xb',
      code:'DM_SEX'
    },
    {
      label: '户籍地',
      prop: 'hjd',
      minWidth: '11em'
    },
    {
      label: '现住地',
      prop: 'xzd',
      minWidth: '11em'
    },
    {
      label: '要素信息',
      prop: 'factor-info',
      type: 'slot',
      minWidth: '12em'
    },
    {
      label: '稳控状态',
      prop: 'wklx',
      code: 'BM_WKLX',
      minWidth: '7em'
    },
    {
      label: '稳控单位',
      prop: 'wkdw',
      code: 'BM_DEPT',
      minWidth: '11em'
    },
    {
      label: '备注',
      prop: 'bz',
      minWidth: '11em'
    }
  ],
  reqCondition: {
    sorts: [{
      'create_Time': 'desc'
    }],
    params: [{
        name: 'flow_Id',
        op: '=',
        value: '',
        type: '',
        format: ''
      },
      // 关键词
      {
        name: 'gjc',
        op: '=',
        value: '',
        type: '',
        format: ''
      }
    ]
  },
  exportColumns: [{
    name: 'SERIAL_NO',
    type: 'CHAR',
    format: '',
    display: '信息编号'
  }, {
    name: 'TITLE',
    type: 'CHAR',
    format: '',
    display: '标题'
  }, {
    name: 'XM',
    type: 'CHAR',
    format: '',
    display: '姓名'
  }, {
    name: 'SFZH',
    type: 'CHAR',
    format: '',
    display: '身份证号'
  }, {
    name: 'XB',
    type: 'CODE',
    format: 'DM_SEX',
    display: '性别'
  }, {
    name: 'HJD',
    type: 'CHAR',
    format: '',
    display: '户籍地'
  }, {
    name: 'XZD',
    type: 'CHAR',
    format: '',
    display: '现住地'
  }, {
    name: 'RYYS_WM',
    type: 'CHAR',
    format: '',
    display: '网名'
  }, {
    name: 'RYYS_LXDH',
    type: 'CHAR',
    format: '',
    display: '联系电话'
  }, {
    name: 'RYYS_CLH',
    type: 'CHAR',
    format: '',
    display: '车辆号'
  }, {
    name: 'WKLX',
    type: 'CODE',
    format: 'BM_WKLX',
    display: '稳控类型'
  }, {
    name: 'WKDW',
    type: 'CODE',
    format: 'BM_DEPT',
    display: '稳控单位'
  }, {
    name: 'BZ',
    type: 'CHAR',
    format: '',
    display: '备注'
  }]
}